package cn.bigfire.compiler.dragon.appendixA.handwrite.inter;

import cn.bigfire.compiler.dragon.appendixA.handwrite.lexer.Word;
import cn.bigfire.compiler.dragon.appendixA.handwrite.symbols.Type;

public class Temp extends Expr {

    static int count = 0;

    int number = 0;

    public Temp(Type type) {
        super(Word.temp, type);
        number = ++count;
    }

    @Override
    public String toString() {
        return "t" + number;
    }


}
